package com.neusoft.po;

import java.math.BigDecimal;
import java.util.List;

public class Orders {

    private Integer orderId;
    private String userId;
    private Integer businessId;
    private String orderDate;
    private BigDecimal orderTotal;
    private Integer daId; //送货地址编号
    private Integer orderState; //订单状态（0：未支付； 1：已支付）
    private Integer addMark; //订单评分
    private String payDate; //支付时间

    //多对一：所属商家
    private Business business;
    //一对多：订单明细
    private List<OrderDetailet> list;

    public Integer getOrderId() {
        return orderId;
    }
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public Integer getBusinessId() {
        return businessId;
    }
    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }
    public String getOrderDate() {
        return orderDate;
    }
    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }
    public BigDecimal getOrderTotal() {
        return orderTotal;
    }
    public void setOrderTotal(BigDecimal orderTotal) {
        this.orderTotal = orderTotal;
    }
    public Integer getDaId() {
        return daId;
    }
    public void setDaId(Integer daId) {
        this.daId = daId;
    }
    public Integer getOrderState() {
        return orderState;
    }
    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }
    public Business getBusiness() {
        return business;
    }
    public void setBusiness(Business business) {
        this.business = business;
    }
    public List<OrderDetailet> getList() {
        return list;
    }
    public void setList(List<OrderDetailet> list) {
        this.list = list;
    }
    public void setAddMark(Integer addMark) {
        this.addMark = addMark;
    }
    public Integer getAddMark() {
        return this.addMark;
    }
    public String getPayDate() {
        return this.payDate;
    }
    public void setPayDate(String payDate) {
        this.payDate = payDate;
    }

}

